home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / GX Libraries / CollectionLibrary.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-16  |  1.5 KB  |  47 lines  |  [TEXT/MPS ]

  1.  
  2. /*
  3.     File:        CollectionLibrary.h
  4.  
  5.     Contains:    This file defines interfaces to the printing Collection library.
  6.  
  7.     Version:    Quickdraw GX 1.1
  8.  
  9.     Written by:    Dave Hersey
  10.  
  11.     Copyright:    © 1994-1995 by Apple Computer, Inc., all rights reserved.
  12.  
  13.     File Ownership:
  14.  
  15.         DRI:                         Dave Hersey
  16.  
  17.         Other Contact:    Ron Voss
  18.  
  19.         Technology:         QuickDraw GX
  20.  
  21.     Change History (most recent first):
  22.  
  23.          <1>      6/6/95    DH        First checked in.
  24. */
  25.  
  26. #ifndef _COLLECTIONLIBRARY_
  27. #define _COLLECTIONLIBRARY_
  28.  
  29. #include <Errors.h>
  30. #include <GXPrinting.h>
  31. #include <Collections.h>
  32.  
  33. /* Collection routines */
  34.  
  35. OSErr    GetCollectionItemCategory (Collection theCollection, CollectionTag theTag, long tagID, gxCollectionCategory *theCategory);
  36. OSErr    SetCollectionItemCategory (Collection theCollection, CollectionTag theTag, long tagID, gxCollectionCategory theCategory);
  37. OSErr    RemoveCollectionCategory (Collection theCollection, gxCollectionCategory theCategory);
  38. OSErr    GetCollectionItemLock (Collection theCollection, CollectionTag theTag, long tagID, Boolean *isLocked);
  39. OSErr    SetCollectionItemLock (Collection theCollection, CollectionTag theTag, long tagID, Boolean lockIt);
  40.  
  41. OSErr    AddJobItem (gxJob theJob, CollectionTag theTag, long id, long itemSize, void *itemData);
  42. OSErr    AddFormatItem (gxFormat theFormat, CollectionTag theTag, long id, long itemSize, void *itemData);
  43. OSErr    AddVolatileJobItem (gxJob theJob, CollectionTag theTag, long id, long itemSize, void *itemData);
  44. OSErr    AddVolatileFormatItem (gxFormat theFormat, CollectionTag theTag, long id, long itemSize, void *itemData);
  45.  
  46. #endif
  47.